package com.example.librarymanagement.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.librarymanagement.dto.periodical.PeriodicalListDto;
import com.example.librarymanagement.entity.Periodical;
import com.example.librarymanagement.vo.PeriodicalVo;

/**
 * @author zjia
 */
public interface IPeriodicalService extends IService<Periodical> {

    /**
     * 分页查询（即dto对象中的name为空），或根据期刊名模糊查询
     *
     * @param periodicalListDto PeriodicalListDto对象
     * @return PeriodicalVo分页对象
     */
    IPage<PeriodicalVo> getPeriodicalsList(PeriodicalListDto periodicalListDto);

}
